package com.cksys.achievement.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ClassName: SexEnum
 * @author: zyx
 * @E-mail: 1377631190@qq.com
 * @DATE: 2020/4/4 0:02
 */
@Getter
@AllArgsConstructor
public enum EmailStatusEnum {

    /**
     * IS_ACTIVATION    邮箱已激活
     * NO_ACTIVATION    邮箱未激活
     */
    IS_ACTIVATION("IS_ACTIVATION", 1),
    NO_ACTIVATION("NO_ACTIVATION", 0);

    @JsonValue
    private String emailFlagJson;

    @EnumValue
    private Integer emailFlag;

}
